#include "CLightObject.h"

LightObject::LightObject() : BaseObject()
{
    m_Type = BaseObject::TYPE_LIGHT;
}

LightObject::~LightObject()
{

}

void LightObject::setDiffuseColor(float red, float green, float blue)
{
    m_diffuseColor = Ogre::ColourValue(red, green, blue);
}

void LightObject::getDiffuseColor(float *red, float *green, float *blue)
{
    *red = m_specularColor.r;
    *green = m_specularColor.g;
    *blue = m_specularColor.b;
}

Ogre::ColourValue LightObject::getDiffuseColor()
{
    return m_diffuseColor;
}


void LightObject::setSpecularColor(float red, float green, float blue)
{
    m_specularColor = Ogre::ColourValue(red, green, blue);
}

void LightObject::getSpecularColor(float *red, float *green, float *blue)
{
    *red = m_specularColor.r;
    *green = m_specularColor.g;
    *blue = m_specularColor.b;
}

Ogre::ColourValue LightObject::getSpecularColor()
{
    return m_specularColor;
}
